#pragma once
#include "ObjetInteractive.h"
class Camera :
	public ObjetInteractive
{
public:
	Camera();
	Camera(Vector3D &);
	virtual void afficher();
	virtual void clavier();
	virtual void toucheSpecial();
	virtual void souris();
	virtual void mouvementSouris();
	virtual void mouvementClickSouris();
    virtual void setSpeed(double speed);
    virtual void setSensivity(double sensivity);
    virtual void setPosition(const Vector3D & position);
	~Camera();
protected:
	double _speed;
    double _sensivity;
   //vertical motion stuffs
    Vector3D _target;
    Vector3D _forward;
    Vector3D _left;
    double _theta;
    double _phi;

    void VectorsFromAngles();
};

